package cloud.study.eurekafeignclient.histrix;

import cloud.study.eurekafeignclient.api.EurekaClientFeign;
import org.springframework.stereotype.Component;
import po.User;

@Component
public class HiHstrix implements EurekaClientFeign {

    @Override
    public String hi(String name) {
        return "我迅速失败了";
    }

    @Override
    public String testPo(User user) {
        return "我迅速失败了";
    }
}
